package com.project.communitymanagement.controller;

import com.project.communitymanagement.common.BaseController;
import com.project.communitymanagement.entity.TbSalaryDistribution;
import com.project.communitymanagement.service.TbSalaryDistributionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@CrossOrigin
@RequestMapping("tbsalarydistribution")
public class TbSalaryDistributionController extends BaseController<TbSalaryDistributionService, TbSalaryDistribution> {

    @Autowired
    private TbSalaryDistributionService tbsalarydistributionService;

    @Override
    protected TbSalaryDistributionService service() {
        return tbsalarydistributionService;
    }
}
